package com.mf.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.mf.converter.EasyExcelGenderConverter;
import lombok.Data;

/**
 * @Author: lmf
 * @Create: 2024/6/25 11:02
 * Description: text.xls文件对应列
 */
@Data
public class Test1Vo {
    @ExcelProperty(value = "日期")
    @DateTimeFormat("yyyy年MM月dd")
    private String date;
    @ExcelProperty(value = "线体")
    private String line;
    @ExcelProperty(value = "数量")
    @NumberFormat("#.##")
    private String  quantity;
    @ExcelProperty(value = "id")

    private Integer id;
    @ExcelProperty(value = "性别", converter = EasyExcelGenderConverter.class)
    private Integer gender;
}
